package com.quick.develop.form.service;



import com.quick.develop.framework.common.page.PageResult;
import com.quick.develop.framework.common.service.BaseService;
import com.quick.develop.form.entity.GenDynamicFormFieldEntity;
import com.quick.develop.form.query.GenDynamicFormFieldQuery;
import com.quick.develop.form.vo.FieldSortVO;
import com.quick.develop.form.vo.FormFieldBatchVO;
import com.quick.develop.form.vo.GenDynamicFormFieldVO;

import java.util.List;

/**
 * 表单字段
 *
 * @author Tioo 1906559468@qq.com
 * @since 1.0.0 2023-09-24
 */
public interface GenDynamicFormFieldService extends BaseService<GenDynamicFormFieldEntity> {

    PageResult<GenDynamicFormFieldVO> page(GenDynamicFormFieldQuery query);

    void save(GenDynamicFormFieldVO vo);

    void update(GenDynamicFormFieldVO vo);

    void delete(List<Long> idList);

    List<GenDynamicFormFieldEntity> getFormElementsByGroupId(Integer id);

    void batchSave(FormFieldBatchVO batchVO);

    void exchangeOrder(FieldSortVO fieldSortVO);

    void batchUpdate(FormFieldBatchVO batchVO);
}